// 本地权限数据，直接导出
export const localPermissionData = [
  {
    id: "2",
    name: "基础资料",
    parent_id: "0",
    type: "1",
    url: "/third",
    icon: "article",
    children: [
      { id: "2-1", name: "商品档案", parent_id: "2", type: "2", url: "/third/goods", icon: "goods" },
      { id: "2-2", name: "供应商档案", parent_id: "2", type: "2", url: "/third/supplier", icon: "supplier" },
      { id: "2-3", name: "客户档案", parent_id: "2", type: "2", url: "/third/customer", icon: "customer" },
      { id: "2-4", name: "仓库档案", parent_id: "2", type: "2", url: "/third/warehouse", icon: "warehouse" }
    ]
  },
  {
    id: "1",
    name: "系统管理",
    parent_id: "0",
    type: "1",
    url: "/adminAuth/getRoleList",
    icon: "permission",
    children: [
      {
        id: "1-1",
        name: "员工档案",
        parent_id: "1",
        type: "2",
        url: "/adminAuth/getRoleList",
        icon: "permission",
        buttonList: [
          { id: "1-1-1", name: "查询", parent_id: "2", type: "3", url: "/adminAuth/getRoleList" },
          { id: "1-1-2", name: "配置权限", parent_id: "2", type: "3", url: "/adminAuth/setting" }
        ]
      },
      {
        id: "1-2",
        name: "创建员工档案",
        parent_id: "1",
        icon: "permission",
        type: "2",
        url: "/adminAuth/adminList",
        buttonList: [
          { id: "1-2-1", name: "查询", parent_id: "1-2", type: "3", url: "/adminAuth/list" },
          { id: "1-2-2", name: "查看", parent_id: "1-2", type: "3", url: "/adminAuth/look" },
          { id: "1-2-3", name: "角色", parent_id: "1-2", type: "3", url: "/adminAuth/role" },
          { id: "1-2-4", name: "删除", parent_id: "1-2", type: "3", url: "/adminAuth/del" }
        ]
      },
      { id: "1-3", name: "权限列表", icon: "permission", parent_id: "1", type: "2", url: "/adminAuth/permissionList" },
      { id: "1-4", name: "账号详情", icon: "permission", parent_id: "1", type: "2", url: "/account/detail", hidden: true }
    ]
  },
  {
    id: "2",
    name: "三方库管理",
    parent_id: "0",
    type: "1",
    url: "/third/editor",
    icon: "article",
    children: [
      {
        id: "2-1",
        name: "产品档案",
        parent_id: "2",
        type: "2",
        url: "/third/editor",
        icon: "permission",
        buttonList: [
          { id: "2-1-1", name: "查询", parent_id: "2-1", type: "3", url: "/third/editor" }
        ]
      },
      {
        id: "2-2",
        name: "markdown",
        parent_id: "2",
        type: "2",
        url: "/third/markdown",
        icon: "permission",
        buttonList: [
          { id: "2-2-1", name: "查询", parent_id: "2-2", type: "3", url: "/third/markdown" }
        ]
      }
    ]
  },
  {
    id: "3",
    name: "音频可视化",
    icon: "role",
    parent_id: "0",
    type: "1",
    url: "/audio/canvas",
    children: [
      { id: "3-1", name: "canvas+audio", parent_id: "3", icon: "permission", type: "2", url: "/audio/canvas" },
      { id: "3-2", name: "wavesurfer", icon: "permission", parent_id: "3", type: "2", url: "/audio/wavesurfer" }
    ]
  },
  {
    id: "4",
    name: "生产制造",
    icon: "article-ranking",
    parent_id: "0",
    type: "1",
    url: "/cssAnimation/shootingStar",
    children: [
      {
        id: "4-100",
        name: "生产领料单",
        icon: "home",
        parent_id: "3",
        type: "2",
        url: "/cssAnimation/hover",
        children: [
          { id: "4-5", name: "会发光的按钮", parent_id: "3", type: "2", icon: "permission", url: "/hover/hoverShiningBtn" },
          { id: "4-7", name: "菜单填充效果", parent_id: "3", type: "2", icon: "permission", url: "/hover/hoverFillText" },
          { id: "4-12", name: "菜单扫描效果", parent_id: "3", type: "2", icon: "permission", url: "/hover/hoverSlideMenu" },
          { id: "4-14", name: "border流动按钮", parent_id: "3", type: "2", icon: "permission", url: "/hover/hoverBorderBtn" }
        ]
      },
      { id: "4-1", name: "生产任务单", parent_id: "3", type: "2", icon: "permission", url: "/cssAnimation/shootingStar" },
      { id: "4-2", name: "生产指令单", parent_id: "3", icon: "permission", type: "2", url: "/cssAnimation/jumpBlock" },
      { id: "4-3", name: "生产汇报单", parent_id: "3", icon: "permission", type: "2", url: "/cssAnimation/downBtn" },
      { id: "4-4", name: "生产入库单", parent_id: "3", type: "2", icon: "permission", url: "/cssAnimation/videoMaskText" },
      { id: "4-6", name: "翻卡片动画", parent_id: "3", icon: "permission", type: "2", url: "/cssAnimation/filpCard" },
      { id: "4-8", name: "图片无缝滚动切换", parent_id: "3", type: "2", icon: "permission", url: "/cssAnimation/slidePic" },
      { id: "4-9", name: "ios动态气泡壁纸", parent_id: "3", type: "2", icon: "permission", url: "/cssAnimation/bubbleFloat" },
      { id: "4-10", name: "水波纹loading效果", parent_id: "3", type: "2", icon: "permission", url: "/cssAnimation/waveloading" },
      { id: "4-11", name: "全屏菜单动画", parent_id: "3", type: "2", icon: "permission", url: "/cssAnimation/fullscreenMenu" },
      { id: "4-13", name: "有趣的tab效果", parent_id: "3", type: "2", icon: "permission", url: "/cssAnimation/tabs" },
      { id: "4-14", name: "时钟效果", parent_id: "3", type: "2", icon: "permission", url: "/cssAnimation/clock" },
      { id: "4-15", name: "雪地划痕", parent_id: "3", type: "2", icon: "permission", url: "/cssAnimation/snowScratch" }
    ]
  },
  {
    id: "5",
    name: "vueUse",
    parent_id: "0",
    type: "1",
    icon: "personnel",
    url: "/vueUse/elements",
    children: [
      {
        id: "5-1",
        name: "elements",
        parent_id: "3",
        icon: "permission",
        type: "2",
        url: "/vueUse/elements",
        children: [
          { id: "5-1-1", name: "useDraggable", parent_id: "3", type: "2", icon: "permission", url: "/elements/useDraggable" },
          { id: "5-1-2", name: "useDropZone", parent_id: "3", type: "2", icon: "permission", url: "/elements/useDropZone" },
          { id: "5-1-3", name: "useIntersectionObserver", parent_id: "3", type: "2", icon: "permission", url: "/elements/useIntersectionObserver" }
        ]
      },
      {
        id: "5-2",
        name: "component",
        parent_id: "3",
        icon: "permission",
        type: "2",
        url: "/vueUse/component",
        children: [
          { id: "5-2-1", name: "createReusableTemplate", parent_id: "3", type: "2", icon: "permission", url: "/component/createReusableTemplate" }
        ]
      }
    ]
  },
  { id: "0", name: "员工档案", parent_id: "0", type: "1", url: "/employee/profile", icon: "personnel", children: [] },
  {
    id: "6",
    name: "销售管理",
    parent_id: "0",
    type: "1",
    url: "/sales",
    icon: "shopping",
    children: [
      { id: "6-1", name: "订单导入", parent_id: "6", type: "2", url: "/sales/orderImport", icon: "personnel" },
      { id: "6-2", name: "销售订单", parent_id: "6", type: "2", url: "/sales/salesOrders", icon: "personnel" },
      { id: "6-3", name: "销售价目表", parent_id: "6", type: "2", url: "/sales/salesPriceList", icon: "personnel" },
      { id: "6-4", name: "佣金表", parent_id: "6", type: "2", url: "/sales/commissionTable", icon: "personnel" },
      { id: "6-5", name: "促销政策发布", parent_id: "6", type: "2", url: "/sales/promotionPolicyRelease", icon: "personnel" },
      { id: "6-6", name: "滞销品规则", parent_id: "6", type: "2", url: "/sales/rulesForSlowMovinggoods", icon: "personnel" },
      { id: "6-7", name: "佣金计算", parent_id: "6", type: "2", url: "/sales/commissionCalculations", icon: "personnel" },
      { id: "6-8", name: "逾期收款查询", parent_id: "6", type: "2", url: "/sales/overdueCollectionInquiry", icon: "personnel" },
      { id: "6-9", name: "添加商品", parent_id: "6", type: "2", url: "/sales/addFlower", icon: "personnel", hidden: true }
    ]
  },
  {
    id: "7",
    name: "采购管理",
    parent_id: "0",
    type: "1",
    url: "/purchase",
    icon: "shopping",
    children: [
      { id: "7-1", name: "采购订单", parent_id: "7", type: "2", url: "/purchase/purchaseOrders", icon: "personnel" },
      { id: "7-2", name: "装柜清单", parent_id: "7", type: "2", url: "/purchase/containerLoading", icon: "personnel" }
    ]
  },
  {
    id: "8",
    name: "仓库管理",
    parent_id: "0",
    type: "1",
    url: "/warehouse",
    icon: "list",
    children: [
      { id: "8-1", name: "采购入库单", parent_id: "8", type: "2", url: "/warehouse/purchaseReceipt", icon: "list" },
      { id: "8-2", name: "上架单", parent_id: "8", type: "2", url: "/warehouse/putOnTheList", icon: "list" },
      { id: "8-3", name: "配货单", parent_id: "8", type: "2", url: "/warehouse/distributionList", icon: "list" },
      { id: "8-4", name: "包装报工单", parent_id: "8", type: "2", url: "/warehouse/packagingWorkOrder", icon: "list" },
      { id: "8-5", name: "销售发货单", parent_id: "8", type: "2", url: "/warehouse/salesInvoice", icon: "list" },
      { id: "8-6", name: "销售退货单", parent_id: "8", type: "2", url: "/warehouse/returnOfSale", icon: "list" }
    ]
  },
  {
    id: "9",
    name: "财务管理",
    parent_id: "0",
    type: "1",
    url: "/finance",
    icon: "list",
    children: [
      { id: "9-1", name: "佣金计算", parent_id: "9", type: "2", url: "/finance/commissionCalculation", icon: "list" },
      { id: "9-2", name: "应付单", parent_id: "9", type: "2", url: "/finance/payableFrom", icon: "list" },
      { id: "9-3", name: "应收单", parent_id: "9", type: "2", url: "/finance/receivableOrder", icon: "list" }
    ]
  },
  {
    id: "10",
    name: "库存管理",
    parent_id: "0",
    type: "1",
    url: "/inventory",
    icon: "list",
    children: [
      { id: "10-1", name: "即时库存", parent_id: "10", type: "2", url: "/inventory/immediateInventory", icon: "list" },
      { id: "10-2", name: "出入库明细", parent_id: "10", type: "2", url: "/inventory/inAndOutDetail", icon: "list" }
    ]
  }
];
